<%@ page language="java" import="java.sql.*"%>
<html>
<head><title>Read from mySQL Database</title>
</head>
<body>
<center>
<%
	if(session.getAttribute("logged_in") == "true")
	{
		out.println("<p><h2>Logged In</p><h2>");
		if(session.getAttribute("user_level") == "administrator")
		{
			out.println("<form action=upload_presentation_exec.jsp enctype=\"multipart/form-data\" method=post> What file are you sending? <input type=file name=file><br><input type=\"submit\" value=Submit><br></form>");
		}
		else
		{
			out.println("<form action=upload_presentation_exec.jsp enctype=\"multipart/form-data\" method=post> What file are you sending? <input type=file name=file><br><input type=\"submit\" value=Submit><br></form>");
		}
	}
	else
	{
		out.println("Not Logged In");
	}	
%>
<a href="menu.jsp">Main Menu</a>
</center>
</body>
</table>
</center>
</div>


</body>
</html>
